package cn.gailvlun.gll.net.apartment.task;

import android.support.annotation.Nullable;



public class ModifyCheckInReq {
    private int id;
    private @Nullable Integer heart; 
    private @Nullable Integer status; 
    private @Nullable String pic; 
    private @Nullable String text; 

    public static ModifyCheckInReq heart(int id, boolean heartOrNot) {
        ModifyCheckInReq modifyCheckInReq = new ModifyCheckInReq();
        modifyCheckInReq.setId(id);
        modifyCheckInReq.setHeart(heartOrNot ? 1 : -1);
        return modifyCheckInReq;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Nullable
    public Integer getHeart() {
        return heart;
    }

    public void setHeart(@Nullable Integer heart) {
        this.heart = heart;
    }

    @Nullable
    public Integer getStatus() {
        return status;
    }

    public void setStatus(@Nullable Integer status) {
        this.status = status;
    }

    @Nullable
    public String getPic() {
        return pic;
    }

    public void setPic(@Nullable String pic) {
        this.pic = pic;
    }

    @Nullable
    public String getText() {
        return text;
    }

    public void setText(@Nullable String text) {
        this.text = text;
    }
}
